<template>
    <div>
        <el-divider content-position="left">v-debounce 防抖</el-divider>
        <el-button v-debounce="debounce">防抖</el-button>
    </div>
</template>

<script>
import { Message } from 'element-ui'
export default {
    methods: {
        debounce() {
            Message.success('防抖执行')
        }
    }
}
</script>